Skip to content

Conversation

guitargeek
Copy link
Contributor

Fixes this error when using the RooNumRunningInt class:

what():  calling RooAbsReal::getVal() with r-value references to the
normalization set is not allowed, because it breaks RooFits caching
logic and potentially introduces significant overhead. Please
explicitly create the RooArgSet outside the call to getVal().

Copy link

github-actions bot commented Oct 6, 2025

Test Results

    21 files      21 suites   3d 17h 0m 17s ⏱️
 3 688 tests  3 687 ✅ 0 💤 1 ❌
75 506 runs  75 505 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 4339e9b.

♻️ This comment has been updated with latest results.

Fixes this error when using the RooNumRunningInt class:

```
what():  calling RooAbsReal::getVal() with r-value references to the
normalization set is not allowed, because it breaks RooFits caching
logic and potentially introduces significant overhead. Please
explicitly create the RooArgSet outside the call to getVal().
```
Copy link
Member

@lmoneta lmoneta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
Thank you for fixing this error!

@guitargeek guitargeek merged commit aa074e5 into root-project:master Oct 7, 2025
24 of 27 checks passed
@guitargeek guitargeek deleted the running_int branch October 7, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants